﻿using Coldairarrow.Entity.PB;
using Coldairarrow.Util;
using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
  public  class PB_CirculationBillListDto: PB_CirculationBill
    {

        /// <summary>
        /// 工厂名称
        /// </summary>
        public string FactoryIdName { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DeptIdName { get; set; }

        /// <summary>
        /// 设备名称
        /// </summary>
        public string DeviceIdName { get; set; }

        /// <summary>
        /// 任务单名称
        /// </summary>
        public string TaskIdName { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string    ProcedureIdName { get; set; }

        /// <summary>
        /// 托盘Id
        /// </summary>
        public string TrayId { get; set; }

        /// <summary>
        /// 托盘编号
        /// </summary>
        public string TrayCode { get; set; }

        /// <summary>
        /// 托盘名称
        /// </summary>
        public string TrayIdName { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialIdName { get; set; }

        /// <summary>
        /// 报工人名称
        /// </summary>
        public string WorkerIdName { get; set; }

        /// <summary>
        /// 统计人名称
        /// </summary>
        public string StatisticianName { get; set; }
        /// <summary>
        /// 接收人
        /// </summary>
        public string ReceiverName { get; set; }
        /// <summary>
        /// 质检人
        /// </summary>
        public string QualityName { get; set; }
        /// <summary>
        /// 隶属成品
        /// </summary>
        public string SubordinateProductName { get; set; }

    }

    public class PB_CirculationBillListConditionDTO : PageInput<ConditionDTO>
    {
        /// <summary>
        /// 车间
        /// </summary>
        public string WorkName { get; set; }
       

        public string Condition { get; set; }
        public string Keyword { get; set; }
   

        /// <summary>
        /// 开始日期       
        /// </summary>
        public DateTime? StartDate { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndDate { get; set; }

       
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialIdName { get; set; }
        /// <summary>
        /// 报工人
        /// </summary>
        public string WorkerIdName { get; set; }



        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? startTime { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? MyProperty { get; set; }
        /// <summary>
        /// 报工编号
        /// </summary>
        public String Id { get; set; }

        public string ProcedureId { get; set; }

        /// <summary>
        /// 报工人
        /// </summary>
        public string WorkerIdNames { get; set; }
    }

    public class PB_CirculationBillConditionDTO : PageInput<ConditionDTO>
    {
        /// <summary>
        /// 任务编码
        /// </summary>
        public string TaskCode { get; set; }
        public string Condition { get; set; }
        public string Keyword { get; set; }
        /// <summary>
        /// 开始日期       
        /// </summary>
        public DateTime? StartDate { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndDate { get; set; }
        /// <summary>
        /// 任务名称
        /// </summary>
        public string TaskName { get; set; }
        /// <summary>
        /// 半成品编码
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 半成品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 半成品规格
        /// </summary>
        public string Spec { get; set; }
        /// <summary>
        /// 隶属成品
        /// </summary>
        public string SubordinateProductName { get; set; }
        /// <summary>
        /// 工序
        /// </summary>
        public string ProcedureName { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string Creator { get; set; }
    }
    public class PB_CirculationBillSurplusConditionDTO : PageInput<ConditionDTO>
    {
        public string Condition { get; set; }
        public string Keyword { get; set; }
        /// <summary>
        /// 半成品编码
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 半成品名称
        /// </summary>
        public string MaterialName { get; set; }

        /// <summary>
        /// 半成品规格
        /// </summary>
        public string MaterialSpec { get; set; }
        /// <summary>
        /// 托盘名称
        /// </summary>
        public string TrayName { get; set; }
    }
}

